You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scripts

Resolve scripts based on supported extensions.

0.1.0
latest
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

scripts

Build Coverage Dependencies

Resolve scripts based on supported extensions.

Install

$ npm install scripts

Usage

Resolve a require-able script to a path, including extension.

var path = scripts.resolve('hello');
// => 'hello.js'

With CoffeeScript support:

require('coffee-script');

var path = scripts.resolve('hello');
// => 'hello.coffee'

Tests

$ npm install
$ npm test

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Keywords

FAQs

Package last updated on 16 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts